package com.tc.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.time.LocalDateTime;

/**
 * <p>
 * 患者疾病关联数据传输对象
 * </p>
 *
 * @author tc
 * @since 2025-07-11
 */
@Data
@ApiModel(value = "Patient_diseaseDTO对象", description = "患者疾病关联数据传输对象")
public class Patient_diseaseDTO {
    
    @ApiModelProperty(value = "主键id")
    private Long id;

    @ApiModelProperty(value = "患者ID（关联insured_person）")
    @NotNull(message = "患者ID不能为空")
    private Long patientId;

    @ApiModelProperty(value = "疾病ID（关联disease_diagnosis）")
    @NotNull(message = "疾病ID不能为空")
    private Integer diseaseId;

    @ApiModelProperty(value = "诊断时间")
    private LocalDateTime diagnosisTime;

    @ApiModelProperty(value = "诊断医生ID")
    private Long doctorId;
    
    @ApiModelProperty(value = "诊断描述")
    private String diagnosisDescription;
    
    @ApiModelProperty(value = "是否主要诊断（0-否，1-是）")
    private Integer isPrimary = 0;
}
